<!--promotion.html、grab.html页面共用该页面，所以把它抽取成一个独立的页面-->
<div class="list">
	<li class="item item-input-inset">
		区域
		<div class="input-value" ng-click="doSelectRegion()">{{scope.choose_select.region_name}}</div>
	</li>
	<li class="item item-stable item-input-inset">
		请选择加盟店
		<label class="checkbox checkbox-square padding-0 checkbox-assertive" style="position:absolute;right:10px;" >
				<input type="checkbox" ng-model="scope.is_all" on-tap="select_all(scope.is_all)"/>
		</label>
	</li>
	<ion-checkbox ng-repeat="store in store" ng-model="store.checked" class="checkbox-assertive padding-left" on-tap="checked(store.store_id)" >{{store.store_name}}</ion-checkbox>
	
</div>

<div class="button-bar padding">
	<button class="button  button-assertive" href="#/tab/home">取消</button>
	<button class="button  button-positive col-offset-10" on-tap="get_third()">保存</button>
</div>
 <div class="list list-borderless">
		<li class="item padding-10 text-center" style="color: black;">
				已选择授权中心
			</li>
			<div ng-repeat="region in show_region">
			<hr />
       	   <li class="item item-input" >
       	   	<span >区域：</span> {{region.region_name}}<i class="icon ion-minus-circled assertive font-1rem-my" on-tap="delete_region($index)"></i>
       	   </li>
       	   	<li class="item item-input item-icon-right" ng-repeat="store in region.store">
       	   	<span ng-class="{invisible:$index>0}"> 授权中心名称：</span>{{store.store_name}}<i class="icon ion-minus-circled assertive font-1rem-my" on-tap="delete_store(region.region_name,$index)"></i>
       	   </li>
       	   <!--<li class="item item-input">
       	   	  是否允许改价：{{store.change_price}}
       	   </li>-->
			</div>
			
	</div>